/**
 * @author harry
 * @date 2021/12/6/9:38
 */

package com.ui.builder;

import javax.swing.*;

public class LabelBuilder {
    public static JLabel makeLabel(String name) {
        JLabel label = new JLabel(name);
        label.setFont(FontBuilder.makeLabelFont());
        label.setHorizontalAlignment(JLabel.CENTER);
        return label;
    }
}
